package stool.juc.countlatch;

/**
 * @author Felix
 * @Description
 * @Date 2023-02-19
 */
public class CountDownLatchError {

    public static void main(String[] args) {
        for (int i = 0; i < 6; i++) {
            new Thread(() -> {
                System.out.println(Thread.currentThread().getName() + "~离开教室");
            }, String.valueOf(i)).start();
        }
        System.out.println("关门");
    }
}
